<template>
	<view class="content">
		<view class="main">
			<navgatsVue :navigationMsg="navigationMsg"></navgatsVue>
			<view class="xy_curdlist">
				<view class="xy_list" v-for="(item,index) in lists" :key="index" @click="tiaos(index)">
					<view class="list_left">
						{{item.title}}
					</view>
					<view class="list_right">
						<image src="/static/前进.png" style="width: 50rpx;height: 50rpx;margin-top: 25rpx;float: right;" mode=""></image>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import navgatsVue from '../../../common/navgats/navgats.vue';
	export default {
		data() {
			return {
				navigationMsg:{
					title: "协议中心"
				},
				lists:[
					{
						title:"租赁服务协议"
					},
					{
						title:"用户协议"
					},
					{
						title:"数字证书授权使用协议"
					},
					{
						title:"商品及服务评价制度"
					},
					{
						title:"历史协议"
					}
				]
			}
		},
		components:{
			navgatsVue
		},
		methods: {
			tiaos(index){
				
					uni.navigateTo({
						url:`/pages/mys/Protocol/Agreement/Agreement?data=${index}`
					})
				
			}
		}
	}
</script>

<style lang="scss" scoped>
*{
			font-size: 3vw;
	}
.content{
		width: 100vw;
		height: 100vh;
		/* position: absolute; */
		background-color: #F6F6F6;
		overflow-y: auto;
		position: relative;
	}
	.main{
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.xy_curdlist{
		width: 90%;
		height: 500rpx;
		background-color: #ffffff;
		border-radius: 30rpx;
		margin-top: 40rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.xy_list{
		width: 90%;
		height: 100rpx;
		line-height: 100rpx;
		display: flex;
	}
	.list_left{
		width: 70%;
		height: 100%;
		line-height: 100rpx;
		font-size: 30rpx;
	}
	.list_right{
		width: 30%;
		height: 100%;
		line-height: 100rpx;
		
	}
</style>
